﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CinemaMaestro.DataLayer.Contracts.Entities
{
    public class Room: IEntity
    {
        public Room()
        {
            this.Screenings = new HashSet<Screening>();
        }
        public int Id { get; set; }
        public string Name { get; set; }
        public int Capacity { get; set; }
        public string Seats { get; set; }

        public virtual Cinema Cinema { get; set; }
        public virtual ICollection<Screening> Screenings { get; set; }
    }
}
